<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
 <script>
    function Aa(name){
        this.name = 'nana';
    }
    Aa.prototype.run = function(){
        console.log('Aa中的run函数被调用了');
    }
    function Bb(name1){
        Aa.call(this.name1);
    }
    Bb.prototype = Object.create(Aa.prototype);
    Bb.prototype.run = function(){
        console.log("Bb中的run函数");
    }
    var b = ne
 </script>   
</body>
</html>